
from flask_shop import create_app,db
from flask_migrate import Migrate
from flask_cors import CORS

app = create_app('develop')
# 解决跨域问题
CORS(app, supports_credentials=True) 
#创建同步数据库对象
migrate = Migrate(app,db)

if __name__=='__main__':
    app.run()